package com.example.eschool.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

import com.example.eschool.R;

public class XwggActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_xwgg);
        TextView textView = findViewById(R.id.tv_ggnr);
        textView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                // 启动主页面
                Intent intent = new Intent(XwggActivity.this, GgnrActivity.class);
                startActivity(intent);
            }
        });
    }
    public void tomain(View view){
        Intent intent = new Intent(XwggActivity.this, MainActivity.class);
        startActivity(intent);
    }
}

